package com.avo.ramcache.service;

import com.avo.ramcache.config.IEntity;
import com.avo.ramcache.config.CachedEntityConfig;

import java.io.Serializable;

public interface EnhanceService<PK extends Comparable<PK> & Serializable, T extends IEntity<PK>> {

    void writeBack(PK id, T entity);

    CachedEntityConfig getEntityConfig();

}
